﻿@model DLM.Web.ViewModel.Admin.UserInfoPageView
@{
    ViewBag.Title = "会员详细信息";
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>活动详情</title>
    <link href="@Url.Content("~/Content/css/admin/global.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/admin/global.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.18.custom.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>
    <script type="text/javascript">
        $(function () {
            $('#add_dialog_link').click(function () {
                $('#add_dialog').dialog({ modal: true }, { width: 680 }, { height: 480 });
            });
        });


    </script>
</head>
<body id="main_body">
    <div class="c1">
        <h1>
            <span>会员信息</span></h1>
        <!--TAB S-->
        <div class="tab_box">
            <div class="tab_head">
                <ul class="tab_ul clearfix">
                    <li class="current">详细信息</li><li>积分</li><li>相册</li>
                    <li>爽约信息</li>
                </ul>
            </div>
            <div class="tab_area">
                <ul class="tab_ul_wrap">
                    <li>
                        <!--FORM S-->
                        <div class="form_box">
                            <div class="validate_area" style="display: none;">
                                @Html.ValidationSummary("", new { @class = "error" })
                                @*     <h6 class="info">
                                    请确保所有表单都已经填完</h6>
                                <h6 class="warning">
                                    表单验证部分未通过，请填写</h6>
                                <h6 class="error">
                                    表单验证错误，请重新填写</h6>
                                <h6 class="accept">
                                    表单验证未通过，请稍后</h6>*@
                            </div>
                            <div class="form_area">
                                <fieldset>
                                    <legend>活动内容</legend>
                                    <p>
                                        <label for="firstname">
                                            账户名称</label><br>
                                        @Model.User.AccountName
                                    </p>
                                    <p>
                                        <label for="lastname">
                                            姓名</label><br>
                                        @Html.DisplayFor(model => model.User.Name)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            年龄</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Age)
                                    </p>
                                    @*     	<p>
								<label for="firstname">活动名称</label><br>
								<input id="firstname" class="half" value="上海2012单身假面舞会派对" name="firstname" type="text">
							</p>*@
                                    <p>
                                        <label class="" for="username">
                                            性别</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Gender)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            出生日期</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Birthday)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            所在城市</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Location)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            出生城市</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.HomePlace)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            婚姻状况</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Marriage)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            籍贯</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.NativePlace)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            身高</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Stature)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            学历</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Education)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            工作状况</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Job)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            收入</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Income)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            职位</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Position)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            从事行业</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Industry)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            电话</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.Phone)
                                    </p>
                                    <p>
                                        <label class="" for="username">
                                            QQ</label>
                                        <label class="error ok" generated="true" for="username">
                                            &nbsp;</label><br>
                                        @Html.DisplayFor(model => model.User.IM)
                                    </p>
                                    @*         <p>
                                        <input id="terms" class="" value="1" name="terms" type="checkbox">
                                        <label class="choice" for="terms">
                                            我已阅读并且同意所有条款</label>
                                    </p>*@
                                    <p class="box">
                                        @Html.HiddenFor(m => m.User.UserID)
                                        @Html.HiddenFor(m => m.User.AccountID)
                                        @if (Model.User.IsValidation)
                                        {
                                            using (Html.BeginForm("Detail", "User", new { userID = Model.User.UserID, accountID = Model.User.AccountID }, FormMethod.Post))
                                            {
                                            <input class="btn" value="加入黑名单" type="submit" /> 
                                            }

                                        }
                                        else
                                        {
                                            using (Html.BeginForm("Activate", "User", new { userID = Model.User.UserID, accountID = Model.User.AccountID }, FormMethod.Post))
                                            {
                                            <input class="btn" value="解冻" type="submit" /> 
                                            }
                                        }
                                        @*<input class="btn" value="重置" type="reset" />*@</p>
                                </fieldset>
                            </div>
                        </div>
                        <!--FORM E-->
                    </li>
                    <li>
                        <!--TABLE S-->
                        <div id="divBonus" class="table_box">
                            @{Html.RenderPartial("_Bonus", Model.Bonus);}
                            @*   <table summary="my name is rayy!!!" class="tb">
                                <colgroup>
                                    <col class="a" />
                                    <col class="b" />
                                    <col class="c" />
                                    <col class="d" />
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>
                                        </th>
                                        <th class="b">
                                            Track Name
                                        </th>
                                        <th>
                                            Artist
                                        </th>
                                        <th>
                                            Album
                                        </th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>
                                            1
                                        </td>
                                        <td>
                                            Hide You
                                        </td>
                                        <td>
                                            Kosheen
                                        </td>
                                        <td>
                                            Resist
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            2
                                        </td>
                                        <td>
                                            .38.45
                                        </td>
                                        <td>
                                            Thievery Corporation
                                        </td>
                                        <td>
                                            Sounds From the Thievery Hi-Fi
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            3
                                        </td>
                                        <td>
                                            Fix You
                                        </td>
                                        <td>
                                            Cold Play
                                        </td>
                                        <td>
                                            X&amp;Y
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            4
                                        </td>
                                        <td>
                                            Hide You
                                        </td>
                                        <td>
                                            Kosheen
                                        </td>
                                        <td>
                                            Resist
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            5
                                        </td>
                                        <td>
                                            .38.45
                                        </td>
                                        <td>
                                            Thievery Corporation
                                        </td>
                                        <td>
                                            Sounds From the Thievery Hi-Fi
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            6
                                        </td>
                                        <td>
                                            Fix You
                                        </td>
                                        <td>
                                            Cold Play
                                        </td>
                                        <td>
                                            X&amp;Y
                                        </td>
                                    </tr>
                                </tbody>
                            </table>*@
                        </div>
                        <!--TABLE E-->
                    </li>
                    <li>
                        <!--table s-->
                        <div id="divAlbum" class="table_box">
                            @{Html.RenderPartial("_Album", Model.Album);}
                        </div>
                        <!--table E-->
                    </li>
                    <li>
                        <div id="divBreakApp" class="table_box">
                            @{Html.RenderPartial("_BreakApp", Model.BreakApp);}
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</body>
</html>
